package org.budo.cmbc.direct.sdk.entity.ecp;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @author lmw
 */
@Getter
@Setter
@Accessors(chain = true)
public class ClientConfig extends RequestHeader {
    private static final long serialVersionUID = -3861316646664384483L;

    /**
     * 请求Url
     */
    private String postUrl;

    /**
     * 安全开关
     */
    private Boolean securitySwitch = true;

    /**
     * 己方的私钥文件路径
     */
    private String ownSm2Path;

    /**
     * 己方私钥文件密码
     */
    private String ownSm2Pwd;

    /**
     * 对方公钥文件路径
     */
    private String bankCertPath;

    /**
     * 是否走https
     */
    private Boolean isSSL = true;

    /**
     * https证书密码
     */
    private String sslClientPassword;

    /**
     * https证书路径
     */
    private String sslClientCertPath;

    /**
     * 返回类型
     */
    private Class<?> responseClass;
}
